﻿using ClientBasicData.Api.DTOS;
using ClientBasicData.ErrorCode;
using MediatR;

namespace ClientBasicData.Api.Application.Command
{
    /// <summary>
    /// 获取客户信息命令类
    /// </summary>
    public class GetClientCommand : IRequest<ApiResult<List<ClientDto>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int Index { get; set; } = 1;

        /// <summary>
        /// 页容量
        /// </summary>
        public int Size { get; set; } = 5;
    }
}
